package org.htu.tinyspaces.error;

public class TinyException extends Exception {
	private static final long serialVersionUID = -4098776860479281209L;
	
	private Throwable t;

	public TinyException(String reason, Throwable t) {
		System.out.println("TinyException: " +reason);
		this.t = t;
	}
	
	public Throwable getCause() {
		return t;
	}
}